package com.hm.base.domain;

import java.util.Date;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author shishun.wang
 * @date 2018年3月9日 下午12:08:13
 * @version 1.0
 * @describe
 */
@Table(name = "hm_req_log")
public class ReqLog {

	/**
	 * 编号ID
	 */
	@Id
	private Long id;

	/**
	 * 请求ip地址
	 */
	private String reqIp;

	/**
	 * 业务系统
	 */
	private String platform;

	/**
	 * 业务系统模块
	 */
	private String module;

	/**
	 * 请求方式
	 */
	private String method;

	/**
	 * 请求地址
	 */
	private String uri;

	/**
	 * 请求参数
	 */
	private String params;

	/**
	 * 描述
	 */
	private String describes;

	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 创建人
	 */
	private Long createUser;

	/**
	 * 使用状态
	 */
	private String status;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getReqIp() {
		return reqIp;
	}

	public void setReqIp(String reqIp) {
		this.reqIp = reqIp;
	}

	public String getPlatform() {
		return platform;
	}

	public void setPlatform(String platform) {
		this.platform = platform;
	}

	public String getModule() {
		return module;
	}

	public void setModule(String module) {
		this.module = module;
	}

	public String getMethod() {
		return method;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public String getUri() {
		return uri;
	}

	public void setUri(String uri) {
		this.uri = uri;
	}

	public String getParams() {
		return params;
	}

	public void setParams(String params) {
		this.params = params;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Long getCreateUser() {
		return createUser;
	}

	public void setCreateUser(Long createUser) {
		this.createUser = createUser;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getDescribes() {
		return describes;
	}

	public void setDescribes(String describes) {
		this.describes = describes;
	}

	@Override
	public String toString() {
		return "ReqLog [id=" + id + ", reqIp=" + reqIp + ", platform=" + platform + ", module=" + module + ", method=" + method + ", uri=" + uri + ", params=" + params + ", describes=" + describes + ", createTime=" + createTime + ", createUser=" + createUser + ", status=" + status + "]";
	}

}
